package com.icehand.learning.matcher;

/**
 *
 * Created by icehand on 2017/5/4.
 */
public interface Matcher {
	/**
	 * 首次匹配的位置，匹配不成功返回-1
	 * @return int
	 */
	int match();

	/**
	 * 是否有匹配 true匹配
	 * @return boolean
	 */
	boolean contains();
}
